﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace libmp
{
    public interface IPopWaiter
    {
        void Close();
        void Update(string msg);
    }

    public interface IPopManager
    {
        void ShowToast(string msg);
        void ShowMsgbox(string msg);
        void ShowConfirm(string msg, Action<bool> onSelect, string[] btnTexts = null);
        IPopWaiter ShowWait(string msg, int countDownSecond = 0);
    }
}